/**
 * Implémente les workflows.
 */
package ch.ifage.business.service;

import java.io.Serializable;

import org.apache.log4j.Logger;

import ch.ifage.business.data.mock.AnalyseFluxData;
import ch.ifage.business.dom.Workflows;

/**
 * @author Christian
 *
 */
public class WorkflowsServiceImpl implements Serializable {

	/**
	 * serial id.
	 */
	private static final long serialVersionUID = -5981460430924624414L;

	/**
	 * les Workflows.
	 */
	private Workflows wfs;
	
	/** The default logger for the class. */
	private static final Logger LOGGER = Logger.getLogger(WorkflowsServiceImpl.class);
	 	
	/**
	 * Constructeur vide.
	 */
	public WorkflowsServiceImpl() {
		LOGGER.info("Start injection WorkflowsServiceImpl...");
		AnalyseFluxData data = new AnalyseFluxData();
		setWfs(data.getList());
		LOGGER.info("... end injection of WorkflowsServiceImpl. ");
	}

	/**
	 * @return the wfs
	 */
	public Workflows getWfs() {
		return wfs;
	}

	/**
	 * @param wfs the wfs to set
	 */
	public void setWfs(final Workflows wfs) {
		this.wfs = wfs;
	}
	
}
